package com.tz.dream.architect.mvp.framework.support.fragment;

import android.content.Context;
import android.os.Bundle;
import android.view.View;

import com.tz.dream.architect.mvp.framework.MvpPresenter;
import com.tz.dream.architect.mvp.framework.MvpView;

//第一重代理模式->生命周期->目标接口
public interface FragmentMvpDelegate<V extends MvpView, P extends MvpPresenter<V>> {
	void onAttach(Context context);
	void onCreate(Bundle savedInstanceState);
	void onActivityCreated(Bundle savedInstanceState);
	void onViewCreated(View view, Bundle savedInstanceState);
	void onStart();
	void onPause();
	void onResume();
	void onStop();
	void onDestroyView();
	void onDestroy();
	void onSaveInstanceState(Bundle outState);
	void onDetach();
}
